func go/types.isTypeParam
40 uses
go/types (current package)
builtins.go#L189: if !isTypeParam(x.typ()) {
builtins.go#L331: assert(!isTypeParam(typ))
builtins.go#L485: assert(!isTypeParam(typ))
call.go#L219: if t, _ := T.Underlying().(*Interface); t != nil && !isTypeParam(T) {
const.go#L305: if !isTypeParam(target) {
conversions.go#L56: case constArg && isTypeParam(T):
conversions.go#L164: if IdenticalIgnoreTags(V.base.Underlying(), T.base.Underlying()) && !isTypeParam(V.base) && !isTypeParam(T.base) {
decl.go#L578: if isTypeParam(rhs) {
decl.go#L621: if isTypeParam(bound) {
expr.go#L222: if isTypeParam(x.typ()) {
expr.go#L229: if isTypeParam(x.typ()) {
expr.go#L442: if isTypeParam(target) {
expr.go#L583: if isTypeParam(x.typ()) || isTypeParam(y.typ()) {
expr.go#L585: if !isTypeParam(x.typ()) {
expr.go#L1103: if isTypeParam(x.typ()) {
gcsizes.go#L54: assert(!isTypeParam(T))
gcsizes.go#L157: assert(!isTypeParam(T))
index.go#L127: if !isTypeParam(x.typ()) {
index.go#L276: if !isTypeParam(x.typ()) {
lookup.go#L122: if enableTParamFieldLookup && obj == nil && isTypeParam(T) {
lookup.go#L573: if p, _ := T.Underlying().(*Pointer); isTypeParam(p.base) {
object.go#L538: if isTypeParam(typ) {
predicates.go#L119: return !isTypeParam(t) && IsInterface(t)
predicates.go#L123: func isTypeParam(t Type) bool {
predicates.go#L192: if dynamic && !isTypeParam(T) || t.typeSet().IsComparable(seen) {
predicates.go#L218: return !isTypeParam(t) || underIs(t, func(u Type) bool {
sizes.go#L92: assert(!isTypeParam(T))
sizes.go#L224: assert(!isTypeParam(T))
stmt.go#L732: if isTypeParam(x.typ()) {
struct.go#L161: if isTypeParam(t) {
typeparam.go#L126: if isTypeParam(bound) {
typeset.go#L273: assert(!isTypeParam(typ))
typeset.go#L389: assert(!isTypeParam(t.typ))
typexpr.go#L156: if isTypeParam(typ) {
typexpr.go#L353: if isTypeParam(typ.key) {
unify.go#L350: assert(!isTypeParam(y))
unify.go#L571: if isTypeParam(y) {
union.go#L152: if isTypeParam(typ) {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)